(eval-when-compile    (require 'color-theme))
(defun color-theme-jerry ()
  "Color theme by Wu Jian, created 2011-12-08."
  (interactive)
  (color-theme-install
   '(color-theme-jerry
     ((background-color . "#000000")
      (background-mode . dark)
      (border-color . "black")
      (cursor-color . "#ffffff")
      (foreground-color . "#ffffff")
      (mouse-color . "black"))
     ((ac-fuzzy-cursor-color . "red")
      (cscope-use-face . t)
      (ispell-highlight-face . isearch)
      (list-matching-lines-buffer-name-face . underline)
      (list-matching-lines-face . match)
      (org-goto-interface . outline)
      (org-remember-interactive-interface . refile)
      (view-highlight-face . highlight)
      (widget-mouse-face . highlight))
     (default ((t (:stipple nil :background "#000000" :foreground "#ffffff" :inverse-video nil :box nil :strike-through nil :overline nil :underline nil :slant normal :weight normal :height 113 :width normal :foundry "microsoft" :family "Consolas"))))
     (ac-candidate-face ((t (:background "lightgray" :foreground "black"))))
     (ac-completion-face ((t (:foreground "darkgray" :underline t))))
     (ac-gtags-candidate-face ((t (:background "lightgray" :foreground "navy"))))
     (ac-gtags-selection-face ((t (:background "navy" :foreground "white"))))
     (ac-selection-face ((t (:background "steelblue" :foreground "white"))))
     (ac-yasnippet-candidate-face ((t (:background "sandybrown" :foreground "black"))))
     (ac-yasnippet-selection-face ((t (:background "coral3" :foreground "white"))))
     (bold ((t (:bold t :weight bold))))
     (bold-italic ((t (:italic t :bold t :slant italic :weight bold))))
     (border ((t (nil))))
     (buffer-menu-buffer ((t (:bold t :weight bold))))
     (button ((t (:underline t))))
     (c-annotation-face ((t (:foreground "blue"))))
     (calendar-today ((t (:underline t))))
     (comint-highlight-input ((t (:bold t :weight bold))))
     (comint-highlight-prompt ((t (:bold t :weight bold :foreground "#708090"))))
     (completions-annotations ((t (:italic t :slant italic))))
     (completions-common-part ((t (:family "Consolas" :foundry "microsoft" :width normal :weight normal :slant normal :underline nil :overline nil :strike-through nil :box nil :inverse-video nil :foreground "#ffffff" :background "#000000" :stipple nil :height 113))))
     (completions-first-difference ((t (:bold t :weight bold))))
     (cscope-file-face ((t (:foreground "yellow"))))
     (cscope-function-face ((t (:foreground "cyan"))))
     (cscope-line-face ((t (:foreground "green"))))
     (cscope-line-number-face ((t (:foreground "red"))))
     (cscope-mouse-face ((t (:background "blue" :foreground "white"))))
     (cursor ((t (:background "#ffffff" :foreground "#ff1493"))))
     (diary ((t (:foreground "yellow1"))))
     (escape-glyph ((t (:foreground "cyan"))))
     (file-name-shadow ((t (:foreground "grey70"))))
     (fixed-pitch ((t (:family "Monospace"))))
     (font-lock-builtin-face ((t (:foreground "#c080d0"))))
     (font-lock-comment-delimiter-face ((t (:foreground "#af5f00"))))
     (font-lock-comment-face ((t (:foreground "#af5f00"))))
     (font-lock-constant-face ((t (:foreground "#ff5f5f"))))
     (font-lock-doc-face ((t (:foreground "#ffaf5f" :background "#262626"))))
     (font-lock-function-name-face ((t (:bold t :foreground "#ebf731" :weight bold))))
     (font-lock-keyword-face ((t (:bold t :foreground "#00afff" :weight bold))))
     (font-lock-negation-char-face ((t (nil))))
     (font-lock-preprocessor-face ((t (:foreground "#c080d0"))))
     (font-lock-regexp-grouping-backslash ((t (:bold t :weight bold))))
     (font-lock-regexp-grouping-construct ((t (:bold t :weight bold))))
     (font-lock-string-face ((t (:background "#262626" :foreground "#ffaf5f"))))
     (font-lock-type-face ((t (:bold t :foreground "#ff5fff" :weight bold))))
     (font-lock-variable-name-face ((t (:foreground "#F7AE4F"))))
     (font-lock-warning-face ((t (:bold t :background "#ff0000" :foreground "#ffffff" :weight bold))))
     (fringe ((t (:background "#16161b"))))
     (glyphless-char ((t (:height 0.6))))
     (header-line ((t (:box (:line-width -1 :style released-button) :background "#262626" :foreground "#888888" :box nil))))
     (help-argument-name ((t (:italic t :slant italic))))
     (highlight ((t (:background "darkolivegreen"))))
     (highline-face ((t (:background "orange"))))
     (holiday ((t (:background "chocolate4"))))
     (ido-first-match ((t (:bold t :weight bold))))
     (ido-incomplete-regexp ((t (:bold t :weight bold :foreground "#ffffff" :background "#ff0000"))))
     (ido-indicator ((t (:background "red1" :foreground "yellow1" :width condensed))))
     (ido-only-match ((t (:foreground "ForestGreen"))))
     (ido-subdir ((t (:foreground "red1"))))
     (ido-virtual ((t (:foreground "#c080d0"))))
     (info-header-node ((t (:italic t :bold t :weight bold :slant italic :foreground "white"))))
     (info-header-xref ((t (:foreground "#00afff" :underline t))))
     (info-menu-header ((t (:bold t :family "Sans Serif" :weight bold))))
     (info-menu-star ((t (:foreground "red1"))))
     (info-node ((t (:italic t :bold t :foreground "white" :slant italic :weight bold))))
     (info-title-1 ((t (:bold t :weight bold :family "Sans Serif" :height 1.728))))
     (info-title-2 ((t (:bold t :family "Sans Serif" :weight bold :height 1.44))))
     (info-title-3 ((t (:bold t :weight bold :family "Sans Serif" :height 1.2))))
     (info-title-4 ((t (:bold t :family "Sans Serif" :weight bold))))
     (info-xref ((t (:underline t :foreground "#00afff"))))
     (info-xref-visited ((t (:underline t :foreground "#ff5fff"))))
     (isearch ((t (:background "#ffaf5f" :foreground "#000000"))))
     (isearch-fail ((t (:background "red4"))))
     (italic ((t (:italic t :slant italic))))
     (lazy-highlight ((t (:background "#ffaf5f" :foreground "#000000"))))
     (link ((t (:foreground "#00afff" :underline t))))
     (link-visited ((t (:foreground "#ff5fff" :underline t))))
     (linum ((t (:foreground "grey70"))))
     (magit-diff-add ((t (:foreground "royal blue"))))
     (magit-diff-del ((t (:foreground "red"))))
     (magit-header ((t (:foreground "chocolate"))))
     (magit-item-highlight ((t (:background "gray12"))))
     (magit-log-graph ((t (:foreground "gray"))))
     (magit-log-head-label-remote ((t (:background "Grey11" :foreground "green" :box 1))))
     (match ((t (:background "RoyalBlue3"))))
     (menu ((t (nil))))
     (modeline ((t (:background "#A5BAF1" :foreground "black"))))
     (modeline-buffer-id ((t (:background "#A5BAF1" :foreground 
                                          "black"))))
     (modeline-mousable ((t (:background "#A5BAF1" :foreground 
                                         "black"))))
     (modeline-mousable-minor-mode ((t (:background
                                        "#A5BAF1" :foreground "black"))))
     (minibuffer-prompt ((t (:bold t :foreground "#FF6600"))))
     ;; (minibuffer-prompt ((t (:bold t :foreground "#708090" :weight bold))))
     ;; (mode-line ((t (:background "#262626" :foreground "#888888" :box (:line-width -1 :style released-button)))))
     ;; (mode-line-buffer-id ((t (:bold t :weight bold))))
     ;; (mode-line-emphasis ((t (:bold t :weight bold))))
     ;; (mode-line-highlight ((t (:box (:line-width 2 :color "grey40" :style released-button)))))
     ;; (mode-line-inactive ((t (:background "#262626" :foreground "#888888" :box (:line-width -1 :color "grey75" :style nil) :weight light))))
     (mouse ((t (nil))))
     (my-long-line-face ((t (:background "grey30"))))
     (my-trailing-space-face ((t (:background "grey30"))))
     (next-error ((t (:foreground "#ffffff" :background "#5f5faf"))))
     (nobreak-space ((t (:foreground "cyan" :underline t))))
     (org-agenda-clocking ((t (:background "SkyBlue4"))))
     (org-agenda-column-dateline ((t (:family "Consolas" :weight normal :slant normal :underline nil :strike-through nil :background "grey90" :height 113))))
     (org-agenda-date ((t (:foreground "LightSkyBlue"))))
     (org-agenda-date-today ((t (:italic t :bold t :foreground "LightSkyBlue" :slant italic :weight bold))))
     (org-agenda-date-weekend ((t (:bold t :foreground "LightSkyBlue" :weight bold))))
     (org-agenda-diary ((t (:family "Consolas" :foundry "microsoft" :width normal :weight normal :slant normal :underline nil :overline nil :strike-through nil :box nil :inverse-video nil :foreground "#ffffff" :background "#000000" :stipple nil :height 113))))
     (org-agenda-dimmed-todo-face ((t (:foreground "grey50"))))
     (org-agenda-done ((t (:foreground "PaleGreen"))))
     (org-agenda-restriction-lock ((t (:background "skyblue4"))))
     (org-agenda-structure ((t (:foreground "LightSkyBlue"))))
     (org-archived ((t (:foreground "grey70"))))
     (org-block ((t (:foreground "grey70"))))
     (org-checkbox ((t (:bold t :weight bold))))
     (org-checkbox-statistics-done ((t (:bold t :weight bold :foreground "PaleGreen"))))
     (org-checkbox-statistics-todo ((t (:bold t :weight bold :foreground "red2"))))
     (org-clock-overlay ((t (:background "SkyBlue4"))))
     (org-code ((t (:foreground "grey70"))))
     (org-column ((t (:background "grey90" :strike-through nil :underline nil :slant normal :weight normal :height 113 :family "Consolas"))))
     (org-column-title ((t (:bold t :background "grey30" :underline t :weight bold))))
     (org-date ((t (:foreground "Cyan" :underline t))))
     (org-document-info ((t (:foreground "pale turquoise"))))
     (org-document-info-keyword ((t (:foreground "grey70"))))
     (org-document-title ((t (:bold t :foreground "pale turquoise" :weight bold :height 1.44))))
     (org-done ((t (:bold t :foreground "PaleGreen" :weight bold))))
     (org-drawer ((t (:foreground "LightSkyBlue"))))
     (org-ellipsis ((t (:foreground "LightGoldenrod" :underline t))))
     (org-footnote ((t (:foreground "Cyan" :underline t))))
     (org-formula ((t (:foreground "chocolate1"))))
     (org-headline-done ((t (:foreground "LightSalmon"))))
     (org-hide ((t (:foreground "black"))))
     (org-latex-and-export-specials ((t (:foreground "burlywood"))))
     (org-level-1 ((t (:bold t :foreground "#ebf731" :weight bold))))
     (org-level-2 ((t (:foreground "#F7AE4F"))))
     (org-level-3 ((t (:bold t :foreground "#00afff" :weight bold))))
     (org-level-4 ((t (:foreground "#af5f00"))))
     (org-level-5 ((t (:bold t :foreground "#ff5fff" :weight bold))))
     (org-level-6 ((t (:foreground "#ff5f5f"))))
     (org-level-7 ((t (:foreground "#c080d0"))))
     (org-level-8 ((t (:background "#262626" :foreground "#ffaf5f"))))
     (org-link ((t (:underline t :foreground "#00afff"))))
     (org-meta-line ((t (:foreground "#af5f00"))))
     (org-mode-line-clock ((t (:box (:line-width -1 :style released-button) :foreground "#888888" :background "#262626"))))
     (org-mode-line-clock-overrun ((t (:box (:line-width -1 :style released-button) :foreground "#888888" :background "red"))))
     (org-property-value ((t (nil))))
     (org-quote ((t (:foreground "grey70"))))
     (org-scheduled ((t (:foreground "PaleGreen"))))
     (org-scheduled-previously ((t (:foreground "chocolate1"))))
     (org-scheduled-today ((t (:foreground "PaleGreen"))))
     (org-sexp-date ((t (:foreground "Cyan"))))
     (org-special-keyword ((t (:foreground "LightSalmon"))))
     (org-table ((t (:foreground "LightSkyBlue"))))
     (org-tag ((t (:bold t :weight bold))))
     (org-target ((t (:underline t))))
     (org-time-grid ((t (:foreground "LightGoldenrod"))))
     (org-todo ((t (:bold t :foreground "red2" :weight bold))))
     (org-upcoming-deadline ((t (:foreground "chocolate1"))))
     (org-verbatim ((t (:foreground "grey70"))))
     (org-verse ((t (:foreground "grey70"))))
     (org-warning ((t (:bold t :weight bold :foreground "#ffffff" :background "#ff0000"))))
     (outline-1 ((t (:bold t :weight bold :foreground "#ebf731"))))
     (outline-2 ((t (:foreground "#F7AE4F"))))
     (outline-3 ((t (:bold t :weight bold :foreground "#00afff"))))
     (outline-4 ((t (:foreground "#af5f00"))))
     (outline-5 ((t (:bold t :weight bold :foreground "#ff5fff"))))
     (outline-6 ((t (:foreground "#ff5f5f"))))
     (outline-7 ((t (:foreground "#c080d0"))))
     (outline-8 ((t (:foreground "#ffaf5f" :background "#262626"))))
     (popup-face ((t (:background "lightgray" :foreground "black"))))
     (popup-isearch-match ((t (:background "sky blue"))))
     (popup-menu-face ((t (:background "lightgray" :foreground "black"))))
     (popup-menu-selection-face ((t (:background "steelblue" :foreground "white"))))
     (popup-scroll-bar-background-face ((t (:background "gray"))))
     (popup-scroll-bar-foreground-face ((t (:background "black"))))
     (popup-tip-face ((t (:background "khaki1" :foreground "black"))))
     (query-replace ((t (:foreground "#000000" :background "#ffaf5f"))))
     (region ((t (:background "#5f5faf" :foreground "#ffffff"))))
     (scroll-bar ((t (nil))))
     (secondary-selection ((t (:background "SkyBlue4"))))
     (shadow ((t (:foreground "grey70"))))
     (show-paren-match ((t (:background "steelblue3"))))
     (show-paren-mismatch ((t (:background "purple" :foreground "white"))))
     (sldb-catch-tag-face ((t (nil))))
     (sldb-condition-face ((t (nil))))
     (sldb-detailed-frame-line-face ((t (nil))))
     (sldb-frame-label-face ((t (nil))))
     (sldb-frame-line-face ((t (nil))))
     (sldb-local-name-face ((t (nil))))
     (sldb-local-value-face ((t (nil))))
     (sldb-non-restartable-frame-line-face ((t (nil))))
     (sldb-reference-face ((t (:underline t))))
     (sldb-restart-face ((t (nil))))
     (sldb-restart-number-face ((t (:bold t :weight bold))))
     (sldb-restart-type-face ((t (:bold t :weight bold :foreground "#00afff"))))
     (sldb-restartable-frame-line-face ((t (:foreground "lime green"))))
     (sldb-section-face ((t (nil))))
     (sldb-topline-face ((t (nil))))
     (slime-error-face ((t (:underline "red"))))
     (slime-highlight-face ((t (:background "darkolivegreen" :underline nil))))
     (slime-inspector-action-face ((t (:bold t :weight bold :foreground "#ffffff" :background "#ff0000"))))
     (slime-inspector-label-face ((t (:foreground "#ff5f5f"))))
     (slime-inspector-topline-face ((t (nil))))
     (slime-inspector-type-face ((t (:bold t :weight bold :foreground "#ff5fff"))))
     (slime-inspector-value-face ((t (:foreground "#c080d0"))))
     (slime-note-face ((t (:underline "light goldenrod"))))
     (slime-reader-conditional-face ((t (:foreground "#af5f00"))))
     (slime-repl-input-face ((t (:bold t :weight bold))))
     (slime-repl-inputed-output-face ((t (:foreground "Red"))))
     (slime-repl-output-face ((t (:foreground "#ffaf5f" :background "#262626"))))
     (slime-repl-output-mouseover-face ((t (:foreground "Red" :box (:line-width 1 :color "black" :style released-button)))))
     (slime-repl-prompt-face ((t (:bold t :weight bold :foreground "#00afff"))))
     (slime-repl-result-face ((t (nil))))
     (slime-style-warning-face ((t (:underline "gold"))))
     (slime-warning-face ((t (:underline "coral"))))
     (tabbar-button ((t (:family "10" :foundry "Consolas" :foreground "gray30" :background "gray80" :box (:line-width 1 :color "gray30") :height 0.8))))
     (tabbar-button-highlight ((t (:family "10" :foundry "Consolas" :foreground "gray30" :background "gray80" :height 0.8))))
     (tabbar-default ((t (:background "gray80" :foreground "gray30" :height 0.8 :foundry "Consolas" :family "10"))))
     (tabbar-highlight ((t (:underline t))))
     (tabbar-selected ((t (:bold t :family "10" :foundry "Consolas" :background "LightGoldenrod" :foreground "DarkGreen" :box (:line-width 1 :color "white" :style pressed-button) :weight bold :height 0.8))))
     (tabbar-separator ((t (:family "10" :foundry "Consolas" :foreground "gray30" :background "gray80"))))
     (tabbar-unselected ((t (:family "10" :foundry "Consolas" :foreground "gray30" :background "gray80" :box (:line-width 2 :color "gray70") :height 0.8))))
     (tool-bar ((t (:background "grey75" :foreground "black" :box (:line-width 1 :style released-button)))))
     (tooltip ((t (:family "Sans Serif" :background "lightyellow" :foreground "black"))))
     (trailing-whitespace ((t (:background "red1"))))
     (underline ((t (:underline t))))
     (variable-pitch ((t (:family "Sans Serif"))))
     (vertical-border ((t (nil))))
     (widget-button ((t (:bold t :weight bold))))
     (widget-button-pressed ((t (:foreground "red1"))))
     (widget-documentation ((t (:foreground "lime green"))))
     (widget-field ((t (:background "dim gray"))))
     (widget-inactive ((t (:foreground "grey70"))))
     (widget-single-line-field ((t (:background "dim gray"))))
     (yas/field-debug-face ((t (nil))))
     (yas/field-highlight-face ((t (:foreground "#ffffff" :background "#5f5faf")))))))
(add-to-list 'color-themes '(color-theme-jerry  "jerry" "WuJian"))

(provide 'color-theme-jerry)
